package com.beep.erp.common.bean;

import com.beep.erp.common.base.BaseBean;

import java.util.List;

public class StockListBean extends BaseBean {
    /**
     * purchaseId : 15321613116101109
     * purchaseCode : CG201807211621514730
     * status : 1
     * bizPurchaseDetailVoList : [{"purchaseDetailId":"15321613530049108","purchaseId":"15321613116101109","goodsId":"60","goodsName":"6666","expertAmount":"8","differentAmount":"0"}]
     * bizStockInVoList : [{"stockInId":"15321686574645476","stockInCode":"RK201807211824171690","stockInDate":1532102400000,"bizStockInDetailList":[{"goodsId":"60","actualAmount":"5","goodsName":"6666"}]}]
     */

    private String purchaseId;
    private String purchaseCode;
    private String status;
    private List<BizPurchaseDetailVoListBean> bizPurchaseDetailVoList;
    private List<BizStockInVoListBean> bizStockInVoList;

    public String getPurchaseId() {
        return purchaseId;
    }

    public void setPurchaseId(String purchaseId) {
        this.purchaseId = purchaseId;
    }

    public String getPurchaseCode() {
        return purchaseCode;
    }

    public void setPurchaseCode(String purchaseCode) {
        this.purchaseCode = purchaseCode;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<BizPurchaseDetailVoListBean> getBizPurchaseDetailVoList() {
        return bizPurchaseDetailVoList;
    }

    public void setBizPurchaseDetailVoList(List<BizPurchaseDetailVoListBean> bizPurchaseDetailVoList) {
        this.bizPurchaseDetailVoList = bizPurchaseDetailVoList;
    }

    public List<BizStockInVoListBean> getBizStockInVoList() {
        return bizStockInVoList;
    }

    public void setBizStockInVoList(List<BizStockInVoListBean> bizStockInVoList) {
        this.bizStockInVoList = bizStockInVoList;
    }

    public static class BizPurchaseDetailVoListBean {
        /**
         * purchaseDetailId : 15321613530049108
         * purchaseId : 15321613116101109
         * goodsId : 60
         * goodsName : 6666
         * expertAmount : 8
         * differentAmount : 0
         */

        private String purchaseDetailId;
        private String purchaseId;
        private String goodsId;
        private String goodsName;
        private String goodsCode;
        private String type;
        private String expertAmount;
        private String differentAmount;


        private String manufactureDate;//生产日期
        private String expirationDate;//保质期
        private String actualAmount;//实际入库数量
        private String storageLocationId;//仓库库位id
        private String remarks;//备注信息

        public String getRemarks() {
            return remarks;
        }

        public void setRemarks(String remarks) {
            this.remarks = remarks;
        }

        public String getGoodsCode() {
            return goodsCode;
        }

        public void setGoodsCode(String goodsCode) {
            this.goodsCode = goodsCode;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getStorageLocationId() {
            return storageLocationId;
        }

        public void setStorageLocationId(String storageLocationId) {
            this.storageLocationId = storageLocationId;
        }

        public String getManufactureDate() {
            return manufactureDate;
        }

        public void setManufactureDate(String manufactureDate) {
            this.manufactureDate = manufactureDate;
        }

        public String getExpirationDate() {
            return expirationDate;
        }

        public void setExpirationDate(String expirationDate) {
            this.expirationDate = expirationDate;
        }

        public String getActualAmount() {
            return actualAmount;
        }

        public void setActualAmount(String actualAmount) {
            this.actualAmount = actualAmount;
        }

        public String getPurchaseDetailId() {
            return purchaseDetailId;
        }

        public void setPurchaseDetailId(String purchaseDetailId) {
            this.purchaseDetailId = purchaseDetailId;
        }

        public String getPurchaseId() {
            return purchaseId;
        }

        public void setPurchaseId(String purchaseId) {
            this.purchaseId = purchaseId;
        }

        public String getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(String goodsId) {
            this.goodsId = goodsId;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public String getExpertAmount() {
            return expertAmount;
        }

        public void setExpertAmount(String expertAmount) {
            this.expertAmount = expertAmount;
        }

        public String getDifferentAmount() {
            return differentAmount;
        }

        public void setDifferentAmount(String differentAmount) {
            this.differentAmount = differentAmount;
        }
    }

    public static class BizStockInVoListBean {
        /**
         * stockInId : 15321686574645476
         * stockInCode : RK201807211824171690
         * stockInDate : 1532102400000
         * bizStockInDetailList : [{"goodsId":"60","actualAmount":"5","goodsName":"6666"}]
         */

        private String stockInId;
        private String stockInCode;
        private long stockInDate;
        private List<BizStockInDetailListBean> bizStockInDetailList;

        public String getStockInId() {
            return stockInId;
        }

        public void setStockInId(String stockInId) {
            this.stockInId = stockInId;
        }

        public String getStockInCode() {
            return stockInCode;
        }

        public void setStockInCode(String stockInCode) {
            this.stockInCode = stockInCode;
        }

        public long getStockInDate() {
            return stockInDate;
        }

        public void setStockInDate(long stockInDate) {
            this.stockInDate = stockInDate;
        }

        public List<BizStockInDetailListBean> getBizStockInDetailList() {
            return bizStockInDetailList;
        }

        public void setBizStockInDetailList(List<BizStockInDetailListBean> bizStockInDetailList) {
            this.bizStockInDetailList = bizStockInDetailList;
        }

        public static class BizStockInDetailListBean {
            /**
             * goodsId : 60
             * actualAmount : 5
             * goodsName : 6666
             */

            private String goodsId;
            private String actualAmount;
            private String goodsName;

            public String getGoodsId() {
                return goodsId;
            }

            public void setGoodsId(String goodsId) {
                this.goodsId = goodsId;
            }

            public String getActualAmount() {
                return actualAmount;
            }

            public void setActualAmount(String actualAmount) {
                this.actualAmount = actualAmount;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }
        }
    }
}
